package zouhaotian.rbac;

import zouhaotian.rbac.exception.ExceptionHandler;
import zouhaotian.rbac.util.SingletonFactory;
import zouhaotian.rbac.view.MainView;

public class Main {
    public static void main(String[] args) {
        try {
            MainView mainView = SingletonFactory.getInstance(MainView.class);
            mainView.show();
        }catch (Exception e){
            ExceptionHandler.handle(e);
        }
    }
}
